package org.pps.gl.client.vue;

import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.Button;
import com.google.gwt.user.client.ui.VerticalPanel;
import com.google.gwt.user.client.ui.ListBox;
import com.google.gwt.user.client.ui.HasHorizontalAlignment;

/**
 * Composite pour l'ajout d'une relation
 * 
 */
public class PFL_V_NContact extends Composite {

	public PFL_V_NContact() {

		VerticalPanel acont = new VerticalPanel();
		acont.setStyleName("navigation");
		initWidget(acont);
		acont.setSize("230px", "126px");

		Label lblNewLabel = new Label("Expérience commune :");
		acont.add(lblNewLabel);
		acont.setCellHorizontalAlignment(lblNewLabel,
				HasHorizontalAlignment.ALIGN_CENTER);

		ListBox listBox = new ListBox();
		acont.add(listBox);
		acont.setCellHorizontalAlignment(listBox,
				HasHorizontalAlignment.ALIGN_CENTER);
		listBox.setWidth("200px");
		listBox.setVisibleItemCount(3);

		Button btnNewButton = new Button("New button");
		btnNewButton.setText("Ajouter");
		acont.add(btnNewButton);
		acont.setCellHorizontalAlignment(btnNewButton,
				HasHorizontalAlignment.ALIGN_CENTER);

		initWidget(acont);
	}

}
